package study.chapter17Exception.CommonError;

/**
 * Test2OutOfMemoryError
 * 栈内存溢出错误
 *
 * @author byc
 * @date 2021-10-17
 */
public class Test2OutOfMemoryError {
    public static void main(String[] args) {
        fun();
    }

    public static void fun(){
        fun();
    }

    /**
     * java 报错 Exception in thread "main" java.lang.  StackOverflowError
     */
}
